* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #7bdaf3;
  min-height: 100vh;
  width: 100%;
}

.btn {
  width: 100px;
  height: 42px;
  background-color: #9ec862;
  border-radius: 8px;
  top: 10px;
  right: 10px;
  position: absolute;
  line-height: 42px;
  color: white;
  text-align: center;
  cursor: pointer;
}

.container {
  width: 100vw;
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  flex-wrap: wrap;
}

.item {
  margin-top: 20px;
  margin-left: 30px;
  width: 500px;
  height: 500px;
  background-color: white;
  overflow: hidden;
  border-radius: 10px;
}

.top {
  width: 100%;
  height: 50px;
  background-color: #9ec862;
  text-align: right;
  line-height: 50px;
}

textarea {
  width: 100%;
  height: 450px;
  border: none;
  font-size: 24px;
}

textarea:focus {
  outline: none;
}

.icon {
  color: white;
  margin-right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.main {
  width: 100%;
  height: 450px;
  font-size: 24px;
  padding: 20px 20px 0 20px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-content {
  display: -webkit-box; /* 使用 -webkit-box 布局 */
  -webkit-box-orient: vertical; /* 垂直布局 */
  -webkit-line-clamp: 15; /* 限制显示的行数 */
  width: 450px;
  height: 410px;
  /* border: 1px solid red; */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal; /* 允许自动换行 */
  word-wrap: break-word; /* 允许长单词或 URL 地址换行 */
}
